.class Lcom/estrongs/android/pop/utils/j$k;
.super Ljava/lang/Object;
.source "AppOperateHelper.java"

# interfaces
.implements Les/z80;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/utils/j;->a(Lcom/estrongs/android/pop/view/FileExplorerActivity;Ljava/util/List;)Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

.field final synthetic b:Ljava/util/List;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/utils/j;Lcom/estrongs/android/pop/view/FileExplorerActivity;Ljava/util/List;)V
    .locals 0

    .line 1
    iput-object p2, p0, Lcom/estrongs/android/pop/utils/j$k;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iput-object p3, p0, Lcom/estrongs/android/pop/utils/j$k;->b:Ljava/util/List;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Les/s80;II)V
    .locals 10

    const/4 p2, 0x4

    const/4 v0, 0x5

    if-eq p3, v0, :cond_0

    if-ne p3, p2, :cond_3

    .line 1
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/utils/j$k;->a:Lcom/estrongs/android/pop/view/FileExplorerActivity;

    new-instance v1, Lcom/estrongs/android/pop/utils/j$k$a;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/utils/j$k$a;-><init>(Lcom/estrongs/android/pop/utils/j$k;)V

    invoke-virtual {v0, v1}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V

    const-wide/16 v0, 0x0

    .line 2
    iget-object v2, p0, Lcom/estrongs/android/pop/utils/j$k;->b:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    move-wide v7, v0

    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Les/y10;

    .line 3
    invoke-virtual {v0}, Les/y10;->length()J

    move-result-wide v0

    add-long/2addr v7, v0

    goto :goto_0

    .line 4
    :cond_1
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    const/4 v1, 0x6

    const/4 v2, 0x1

    .line 5
    :try_start_0
    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    :catch_0
    move-exception v1

    .line 6
    invoke-virtual {v1}, Lorg/json/JSONException;->printStackTrace()V

    .line 7
    :goto_1
    invoke-virtual {v0}, Lorg/json/JSONObject;->toString()Ljava/lang/String;

    move-result-object v5

    if-ne p3, p2, :cond_2

    const/4 v6, 0x1

    goto :goto_2

    :cond_2
    const/4 p2, 0x0

    const/4 v6, 0x0

    .line 8
    :goto_2
    invoke-virtual {p1}, Les/s80;->l()Les/u80;

    move-result-object p1

    iget v9, p1, Les/u80;->a:I

    const-string v3, "buckup"

    const-string v4, "app"

    .line 9
    invoke-static/range {v3 .. v9}, Lcom/estrongs/android/pop/utils/p;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZJI)V

    :cond_3
    return-void
.end method
